package com.hxzy.fleet.entity;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author xx
 * @since 2023-06-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "TtCarteam对象", description = "")
public class TtCarteam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "车队编号")
    @TableId
    private String carTeamId;

    @ApiModelProperty(value = "车队名称")
    private String carTeamName;

    @ApiModelProperty(value = "车辆数")
    private Integer carCount;

    @ApiModelProperty(value = "车队司机数量")
    private Integer carMemberCount;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createPersonName;

    @ApiModelProperty(value = "车队描述")
    private String carTeamDescribe;

    @ApiModelProperty(value = "可用企业类型")
    private Integer enterpriseType;

    @TableField(exist = false)
    @ApiModelProperty(value = "运输中车辆数量")
    private Integer transportCount=0;

    @TableField(exist = false)
    @ApiModelProperty(value = "空闲车辆数量")
    private Integer freeCount=0;

    @TableField(exist = false)
    private List tmUser;

}
